package com.xikeda.service.imp;

import com.xikeda.dao.Inquiry;
import com.xikeda.model.CourierTable;
import com.xikeda.model.DeliveryTable;
import com.xikeda.model.UserTable;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;


/**
 * @Author Xiao Linqing
 * @date 2020/6/6 8:51
 */
@Service
public class InquiryService {
    @Resource
    private Inquiry inquiry;
    public Integer findfindid(String s){
       return inquiry.findfindid(s);
    }
    public List FindID(String s){
        List<DeliveryTable> list=new ArrayList<DeliveryTable>();
        try{
            list=this.inquiry.FindID(s);
        }catch (Exception e){
            e.printStackTrace();
        }
        return list;
    }
    public CourierTable findcourier(String a){


            CourierTable courierTable =this.inquiry.findcourier(a);

        return courierTable;
    }


}
